Function LoadXMLMesh:CalCoreMesh(file:Object)

	Local xmlod:XMLCalMeshLoader = New XMLCalMeshLoader
	Return CalCoreMesh(xmlod.Load(file))
	
End Function

Function LoadXMLSkeleton:CalCoreSkeleton(file:Object)

	Local xmlod:XMLCalSkeletonLoader = New XMLCalSkeletonLoader
	Return CalCoreSkeleton(xmlod.Load(file))
	
End Function


Function LoadXMLAnimation:CalCoreAnimation(file:Object,skel:CalCoreSkeleton=Null)

	Local xmlod:XMLCalAnimationLoader = New XMLCalAnimationLoader
	xmlod.skel = skel
	Return CalCoreAnimation(xmlod.Load(file))
	
End Function


Function LoadXMLMorphAnimation:CalCoreAnimatedMorph(file:Object)

	Local xmlod:XMLMorphCalAnimationLoader = New XMLMorphCalAnimationLoader
	Return CalCoreAnimatedMorph(xmlod.Load(file))
	
End Function

Function LoadXMLMaterial:CalCoreMaterial(file:Object)

	Local xmlod:XMLCalMaterialLoader = New XMLCalMaterialLoader
	Return CalCoreMaterial(xmlod.Load(file))
	
End Function


